package Ptolemaiosz;



import java.util.ArrayList;

public class LevelPart{

	private ArrayList<Element> elements = new ArrayList<Element>();
	private ArrayList<Wall> walls = new ArrayList<Wall>();
        private int id = 0;

    public LevelPart() {
        
        SkeletonLogger.logCall();
		
		SkeletonLogger.logReturn();
    }
    
       public void setId(int i)
            {
                SkeletonLogger.logCall();
                    id = i;
                SkeletonLogger.logReturn();
            }
       
      public int getId()
            {
                SkeletonLogger.logCall();
                    
                SkeletonLogger.logReturn();
                return id;
            }
    
       public void addWall(Wall w)
            {
                SkeletonLogger.logCall();
                walls.add(w);
                SkeletonLogger.logReturn();
            }
       
       public void addElement(Element e)
            {
                SkeletonLogger.logCall();
                elements.add(e);
                SkeletonLogger.logReturn();           
            }

	public ArrayList<Wall> getWalls() {		
		
		SkeletonLogger.logCall();
		
		SkeletonLogger.logReturn();
		
		return walls;
	}

	public ArrayList<Element> getElements() {
		
		
		SkeletonLogger.logCall();
		
		SkeletonLogger.logReturn();
		
		return elements;
	}
		

}